package com.travelplanning.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.travelplanning.admin.dao.entity.CommentDO;
import com.travelplanning.admin.dto.req.CommentAddReqDTO;
import com.travelplanning.admin.dto.resp.CommentQueryResqDTO;

import java.util.List;


public interface CommentService extends IService<CommentDO> {


    /**
     * 用户新增评论
     * @param requestParam 用户新增评论请求参数
     * @return
     */
    Void addComment(CommentAddReqDTO requestParam);


    List<CommentQueryResqDTO> queryAllComments(String requestParam);
}
